<script setup lang="ts">
import { useLayoutConfigStore } from '@/store/layoutConfig'

const layoutConfigStore = useLayoutConfigStore()
const { isCollapse, globalTitle } = storeToRefs(layoutConfigStore)

</script>

<template>
  <div class="layout-logo">
    <img class="layout-logo-img" src="@/assets/logo.png" fit="cover" />
    <span v-if="!isCollapse">{{ globalTitle }}</span>
  </div>
</template>

<style scoped lang="scss"></style>